package logic

import (
	"context"
	"github.com/gogf/gf/v2/frame/g"
	"smart-health-platforms/demo/api/internal/types"
)

// 业务逻辑
func SendSmsLogic(ctx context.Context, req *types.SendSmsReq) (*types.SendSmsRes, error) {
	g.Log().Infof(ctx, "收到短信请求，手机号：%s", req.Mobile)
	return &types.SendSmsRes{Ok: true}, nil
}
